package model

import (
	"engine/model"
)

type AdvertisementResp struct {
	Ad  []model.My_advertisement `json:"ad" form:"ad" `
	Ad1 []model.My_advertisement `json:"ad1" form:"ad1" `
}

type AdvertisementReq struct {
	Title    string `json:"title"`
	Content  string `json:"content"`
	Image    string `json:"image"`
	Icon     string `json:"icon" binding:"required"`
	Authcode string `json:"authcode" binding:"required"`
}

type WenjiaosyoReq struct {
	Name    string `json:"name"  binding:"required"`
	Account string `json:"account" binding:"required"`
	Type    int    `json:"type"`
	Code    string `json:"code" `
}

type AdResp struct {
	Id   int    `json:"id"`
	Icon string `json:"icon"`
}
type AdRespList struct {
	Image   string `json:"image"`
	Content string `json:"content"`
	Title   string `json:"title"`
}
